package cn.usian.comon.iterceptor;

import cn.usian.jyzx.model.entity.user.UserInfo;
import lombok.Data;


public class AutoThreadLocal {
    public static ThreadLocal<UserInfo> threadLocal = new ThreadLocal<UserInfo>();

    public static UserInfo getThreadLocal() {
        return threadLocal.get();
    }

    public static void setThreadLocal(UserInfo userInfo) {
        threadLocal.set(userInfo);
    }
}
